<template>
  <div class="noodle">
    <p>Select topping</p>
    <div class="noodle__vessel">
      <div class="menWrap">
        <div class="men">
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
          <div class="men__item"></div>
        </div>
      </div>
      <div class="eggs">
        <input class="toggle" type="checkbox" id="egg1" checked="checked">
        <label class="lebel egg egg--toggle" for="egg1">
          <div class="egg__inner"></div>
        </label>
        <input class="toggle" type="checkbox" id="egg2">
        <label class="lebel egg egg--toggle" for="egg2">
          <div class="egg__inner"></div>
        </label>
        <input class="toggle" type="checkbox" id="egg3">
        <label class="lebel egg egg--toggle" for="egg3">
          <div class="egg__inner"></div>
        </label>
        <div class="egg">
          <div class="egg__inner"></div>
        </div>
        <div class="egg">
          <div class="egg__inner"></div>
        </div>
        <div class="egg">
          <div class="egg__inner"></div>
        </div>
      </div>
      <div class="meats">
        <input class="toggle" type="checkbox" id="meat1" checked="checked">
        <label class="lebel meat meat--toggle" for="meat1">
          <div class="meat__inner"></div>
        </label>
        <input class="toggle" type="checkbox" id="meat2">
        <label class="lebel meat meat--toggle" for="meat2">
          <div class="meat__inner"></div>
        </label>
        <input class="toggle" type="checkbox" id="meat3">
        <label class="lebel meat meat--toggle" for="meat3">
          <div class="meat__inner"></div>
        </label>
        <div class="meat">
          <div class="meat__inner"></div>
        </div>
        <div class="meat">
          <div class="meat__inner"></div>
        </div>
        <div class="meat">
          <div class="meat__inner"></div>
        </div>
      </div>
      <div class="leaf">
        <div class="leaf__item"></div>
        <div class="leaf__item"></div>
        <div class="leaf__item"></div>
        <div class="leaf__item"></div>
      </div>
      <div class="noris">
        <input class="toggle" type="checkbox" id="nori1" checked="checked">
        <label class="lebel nori nori--toggle" for="nori1">
          <div class="nori__item"></div>
        </label>
        <input class="toggle" type="checkbox" id="nori2" checked="checked">
        <label class="lebel nori nori--toggle" for="nori2">
          <div class="nori__item"></div>
        </label>
        <input class="toggle" type="checkbox" id="nori3" checked="checked">
        <label class="lebel nori nori--toggle" for="nori3">
          <div class="nori__item"></div>
        </label>
        <div class="nori">
          <div class="nori__item"></div>
        </div>
        <div class="nori nori--two">
          <div class="nori__item"></div>
        </div>
        <div class="nori nori--three">
          <div class="nori__item"></div>
        </div>
      </div>
      <div class="negiWrap">
        <input class="toggle" type="checkbox" id="negi1" checked="checked">
        <label class="lebel negi negi--toggle" for="negi1">
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
        </label>
        <input class="toggle" type="checkbox" id="negi2">
        <label class="lebel negi negi--toggle" for="negi2">
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
        </label>
        <input class="toggle" type="checkbox" id="negi3">
        <label class="lebel negi negi--toggle" for="negi3">
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
        </label>
        <div class="negi">
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
        </div>
        <div class="negi negi--two">
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
        </div>
        <div class="negi negi--three">
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
          <div class="negi__item"></div>
        </div>
      </div>
    </div>
    <div class="noodle__vesselBottom"></div>
  </div>
</template>
<script>
export default {};
</script>

<style lang="scss" scoped>
@import url("https://fonts.googleapis.com/css?family=Cute+Font&display=swap");

$BG: rgba(119, 81, 46, 0.705);
$VESSEL: #c01820;
$VESSEL_INNER: yellow;
$MEAT: #ddaf73;
$MEAT_INNER: #f3d9a9;
$MEAT_INNER2: #f7e1c4;
$MEAT_MIMI: #992525;
$EGG: #ffffff;
$EGG_MIMI: #efefef;
$EGG_KIMI: #ffbb01;
$EGG_KIMI2: #faea0e;
$MEN: #faea0e;
$SOUP: rgba(250, 200, 126, 0.918);
$NORI: #222121;
$NEGI: #06aa06;
$NEGI2: #077a07;

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: scroll;
  margin: 0;
  background-color: $BG;
  font-family: "Cute Font", cursive;
}

* {
  z-index: 1;
  &:before,
  &:after {
    position: absolute;
    content: "";
  }
}


p {
  position: absolute;
  margin: 0;
  font-size: 40px;
  font-family: "Cute Font", cursive;
  top: -60px;
  right: 0;
}

.noodle {
  position: relative;
  width: 710px;
  height: 350px;
  transform: scale(0.7);
  &__vessel {
    position: absolute;
    top: 40px;
    width: 420px;
    height: 209px;
    border-radius: 50%;
    background-color: $VESSEL;
    z-index: 10;
  }
  &__vesselBottom {
    position: absolute;
    top: 190px;
    left: 24px;
    width: 379px;
    height: 140px;
    overflow: hidden;
    &:before {
      width: 405px;
      height: 400px;
      background-color: $VESSEL;
      overflow: hidden;
      border-radius: 0 50% 50%;
      top: -275px;
      left: -16px;
      z-index: 10;
    }
    &:after {
      width: 173px;
      height: 70px;
      background-color: #efefef;
      overflow: hidden;
      border-radius: 0 0 50% 50%;
      bottom: 0;
      left: 100px;
    }
  }
}

.menWrap {
  position: absolute;
  top: 0;
  width: 420px;
  height: 209px;
  border-radius: 50%;
  background-color: $VESSEL;
  overflow: hidden;
  &:before {
    top: 47px;
    left: 30px;
    width: 360px;
    height: 185px;
    border-radius: 50%;
    background-color: $SOUP;
  }
}

.men {
  position: absolute;
  top: 65px;
  left: 30px;
  width: 360px;
  height: 204px;
  border-radius: 50%;
  &__item {
    position: absolute;
    top: 30px;
    left: 20px;
    border-radius: 50%;
    border: 4px solid $MEN;
    opacity: 0.8;
    &:before {
      -webkit-transform: rotateZ(10deg);
      transform: rotateZ(10deg);
      top: -10px;
      left: 10px;
      width: 157px;
      height: 110px;
      border-radius: 50%;
      border-width: 4px;
      border-style: solid;
      opacity: 0.8;
      border-color: $MEN;
    }
    &:after {
      -webkit-transform: rotateZ(-10deg);
      transform: rotateZ(-10deg);
      top: 1px;
      left: 10px;
      width: 136px;
      height: 100px;
      border-radius: 50%;
      border-width: 4px;
      border-style: solid;
      opacity: 0.8;
      border-color: $MEN;
    }
    &:nth-of-type(1) {
      width: 176px;
      height: 176px;
      top: 33px;
      left: 172px;
    }
    &:nth-of-type(2) {
      width: 94px;
      height: 79px;
      top: 55px;
      left: 8px;
    }
    &:nth-of-type(3) {
      width: 318px;
      height: 182px;
      top: 38px;
      left: 45px;
    }
    &:nth-of-type(4) {
      width: 324px;
      height: 125px;
      top: 17px;
      left: 12px;
    }
    &:nth-of-type(5) {
      width: 145px;
      height: 73px;
      top: 41px;
      left: 80px;
    }
    &:nth-of-type(6) {
      width: 198px;
      height: 80px;
      top: 76px;
      left: 37px;
    }
    &:nth-of-type(7) {
      width: 293px;
      height: 55px;
      top: 36px;
      left: 48px;
    }
    &:nth-of-type(8) {
      width: 155px;
      height: 100px;
      top: 31px;
      left: 180px;
    }
    &:nth-of-type(9) {
      width: 137px;
      height: 23px;
      top: 49px;
      left: 160px;
    }
    &:nth-of-type(10) {
      width: 43px;
      height: 177px;
      top: 105px;
      left: 16px;
    }
    &:nth-of-type(11) {
      width: 43px;
      height: 69px;
      top: 22px;
      left: 146px;
    }
    &:nth-of-type(12) {
      width: 143px;
      height: 113px;
      top: 21px;
      left: 13px;
    }
    &:nth-of-type(13) {
      width: 214px;
      height: 68px;
      top: 58px;
      left: 96px;
    }
    &:nth-of-type(14) {
      width: 211px;
      height: 161px;
      top: 39px;
      left: 108px;
    }
    &:nth-of-type(15) {
      width: 29px;
      height: 50px;
      top: 70px;
      left: 180px;
    }
    &:nth-of-type(16) {
      width: 253px;
      height: 74px;
      top: 82px;
      left: 128px;
    }
    &:nth-of-type(17) {
      width: 62px;
      height: 51px;
      top: 62px;
      left: 49px;
    }
    &:nth-of-type(18) {
      width: 29px;
      height: 50px;
      top: 80px;
      left: 135px;
    }
    &:nth-of-type(19) {
      width: 29px;
      height: 50px;
      top: 100px;
      left: 230px;
    }
  }
}

.eggs {
  position: absolute;
  top: 35px;
  left: 150px;
  transform: scale(0.85);
}
.egg {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 95px;
  border-radius: 50% 50% 40px 40px;
  display: none;
  &:nth-of-type(1) {
    top: -15px;
    left: 80px;
  }
  &:nth-of-type(2) {
    top: -5px;
    left: 40px;
  }
  &:before {
    top: -10px;
    left: 17px;
    width: 83px;
    height: 116px;
    background-color: $EGG_MIMI;
    -webkit-transform: rotateZ(-70deg);
    transform: rotateZ(-70deg);
    border-radius: 50% 50% 40px 40px;
  }
  &:after {
    position: absolute;
    top: -20px;
    left: 18px;
    width: 83px;
    height: 123px;
    -webkit-transform: rotateZ(-70deg);
    transform: rotateZ(-70deg);
    background-color: $EGG;
    border-radius: 50% 50% 40px 40px;
  }
  &__inner {
    position: absolute;
    top: 9px;
    left: 45px;
    width: 62px;
    height: 75px;
    background-color: $EGG_KIMI2;
    -webkit-transform: rotateZ(-70deg);
    transform: rotateZ(-70deg);
    border-radius: 50%;
    &:before {
      top: 4px;
      left: 5px;
      width: 55px;
      height: 68px;
      background-color: $EGG_KIMI;
      border-radius: 50%;
    }
    &:after {
      top: 35px;
      left: 8px;
      width: 8px;
      height: 22px;
      background-color: #fff;
      -webkit-transform: rotateZ(-13deg);
      transform: rotateZ(-13deg);
      border-radius: 90% 10px 10px 90%;
    }
  }
  &--toggle {
    position: absolute;
    transform: scale(0.8);
    opacity: 0.5;
    display: block;
    width: 100px;
    height: 100px;
    top: 0;
    left: -16px;
    &:nth-of-type(1) {
      top: -100px;
      left: 300px;
    }
    &:nth-of-type(2) {
      top: -100px;
      left: 420px;
    }
    &:nth-of-type(3) {
      top: -100px;
      left: 545px;
    }
  }
}

.meats {
  position: absolute;
  top: 95px;
  left: 245px;
  transform: scale(0.85);
}

.meat {
  position: absolute;
  top: 5px;
  left: -15px;
  width: 114px;
  height: 116px;
  background-color: $MEAT;
  -webkit-transform: rotateZ(20deg);
  transform: rotateZ(20deg);
  border-radius: 50% 40% 40px 40px;
  border-width: 3px 6px 8px 3px;
  border-style: solid;
  box-sizing: border-box;
  border-color: $MEAT_MIMI;
  overflow: hidden;
  display: none;
  &:nth-of-type(1) {
    left: 28px;
    top: -15px;
  }
  &:nth-of-type(2) {
    left: 8px;
    top: -10px;
  }
  &:before {
    top: 23px;
    left: 6px;
    width: 114px;
    height: 116px;
    background-color: $MEAT_INNER;
    border-radius: 48% 36% 0 0;
    border-width: 18px 10px 21px 17px;
    border-style: solid;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-color: $MEAT_INNER2;
  }
  &--toggle {
    position: absolute;
    transform: scale(0.7);
    opacity: 0.5;
    display: block;
    &:nth-of-type(1) {
      top: -50px;
      left: 200px;
    }
    &:nth-of-type(2) {
      top: -50px;
      left: 320px;
    }
    &:nth-of-type(3) {
      top: -50px;
      left: 445px;
    }
  }
  &__inner {
    position: absolute;
    top: 44px;
    left: 55px;
    width: 52px;
    height: 60px;
    &:before {
      top: 12px;
      left: 34px;
      width: 5px;
      height: 25px;
      background-color: $MEAT_MIMI;
      border-radius: 20%;
    }
    &:after {
      top: 20px;
      left: 25 px;
      width: 5px;
      height: 25px;
      background-color: $MEAT_MIMI;
      border-radius: 20%;
    }
  }
}

.negiWrap {
  position: absolute;
  top: 45px;
  left: 25px;
}

.negi {
  position: absolute;
  top: 53px;
  left: 57px;
  display: none;
  &--two {
    left: 40px;
    top: 68px;
  }
  &--three {
    left: 20px;
    top: 62px;
  }
  &--toggle {
    position: absolute;
    transform: scale(0.7);
    opacity: 0.5;
    display: block;
    &:nth-of-type(1) {
      top: 130px;
      left: 400px;
    }
    &:nth-of-type(2) {
      top: 130px;
      left: 505px;
    }
    &:nth-of-type(3) {
      top: 130px;
      left: 610px;
    }
  }
  &__item {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border-width: 2px 4px 4px 4px;
    border-style: solid;
    opacity: 0.8;
    border-color: #fff;
    &:before {
      top: 0;
      left: 0;
      width: 15px;
      height: 15px;
      border-radius: 50%;
      border-width: 2px 4px 4px 4px;
      border-style: solid;
      border-color: $NEGI;
      opacity: 0.8;
    }
    &:after {
      top: 20px;
      left: 20px;
      width: 15px;
      height: 15px;
      border-radius: 50%;
      border-width: 2px 4px 4px 4px;
      border-style: solid;
      opacity: 0.8;
      border-color: $NEGI2;
    }
    &:nth-of-type(1) {
      top: 50px;
      left: 37px;
    }
    &:nth-of-type(2) {
      top: 25px;
      left: 0;
    }
    &:nth-of-type(3) {
      top: 25px;
      left: 30px;
    }
    &:nth-of-type(4) {
      top: 25px;
      left: 40px;
    }
    &:nth-of-type(5) {
      top: 25px;
      left: 50px;
    }
    &:nth-of-type(6) {
      top: 15px;
      left: 2px;
    }
    &:nth-of-type(7) {
      top: 25px;
      left: 2px;
    }
    &:nth-of-type(8) {
      top: -15px;
      left: 40px;
    }
    &:nth-of-type(9) {
      top: -15px;
      left: 30px;
    }
    &:nth-of-type(10) {
      top: -10px;
      left: 20px;
    }
    &:nth-of-type(11) {
      top: 20px;
      left: 60px;
    }
    &:nth-of-type(12) {
      top: 33px;
      left: 0;
    }
    &:nth-of-type(13) {
      top: 33px;
      left: -12px;
    }
    &:nth-of-type(14) {
      top: -13px;
      left: 52px;
    }
    &:nth-of-type(15) {
      top: -13px;
      left: -12px;
    }
    &:nth-of-type(16) {
      top: -4px;
      left: 10px;
    }
    &:nth-of-type(17) {
      top: -4px;
      left: -12px;
    }
  }
}

.leaf {
  position: absolute;
  top: 144px;
  left: 168px;
  &__item {
    position: absolute;
    top: 0;
    left: 0;
    height: 59px;
    width: 20px;
    border-radius: 50%;
    background: #4ea24e;
    transform: rotate(35deg);
    &:after {
      height: 43px;
      width: 2px;
      background-color: #348b34;
      left: 50%;
      margin-left: -1px;
      top: 5px;
    }
    &:nth-of-type(1) {
      top: 0;
      left: 0;
    }
    &:nth-of-type(2) {
      top: -23px;
      left: 10px;
      -webkit-transform: rotate(-35deg);
      transform: rotate(-76deg);
      width: 20px;
      height: 120px;
      &:after {
        height: 100px;
      }
    }
    &:nth-of-type(3) {
      top: 0px;
      left: 14px;
      height: 82px;
      transform: rotate(68deg);
    }
    &:nth-of-type(4) {
      top: 10px;
      left: 10px;
    }
  }
}

.noris {
  position: absolute;
  top: -46px;
  left: 48px;
}

.nori {
  position: absolute;
  top: 48px;
  left: -9px;
  width: 60px;
  height: 100px;
  display: none;
  &--two {
    top: 48px;
    left: 28px;
    width: 60px;
    height: 100px;
    transform: skew(10deg, -10deg);
  }
  &--three {
    top: 50px;
    left: 50px;
    width: 60px;
    height: 100px;
  }
  &__item {
    position: absolute;
    width: 60px;
    height: 102px;
    transform: skew(20deg, -20deg);
    background-color: $NORI;
  }
  &--toggle {
    top: 295px;
    position: absolute;
    transform: scale(0.7);
    opacity: 0.5;
    display: block;
    &:nth-of-type(1) {
      left: 387px;
    }
    &:nth-of-type(2) {
      left: 492px;
    }
    &:nth-of-type(3) {
      left: 597px;
    }
  }
}

.toggle {
  top: -100px;
  position: absolute;
  opacity: 0;
}

.label {
  top: -100px;
  display: inline-flex;
}

#egg1:checked {
  + label {
    opacity: 1;
  }
  + label + input + label + input + label + .egg + .egg {
    display: block;
  }
  + input + label + label {
    opacity: 0.5;
  }
}

#egg2:checked {
  + label + input + label + .egg + .egg + .egg {
    display: block;
  }
  + label {
    opacity: 1;
  }
}

#egg3:checked {
  + label + .egg {
    display: block;
  }
  + label {
    opacity: 1;
  }
}

#meat1:checked {
  + label + input + label + input + label + .meat + .meat + .meat {
    display: block;
  }
  + label {
    opacity: 1;
  }
}

#meat2:checked {
  + label + input + label + .meat + .meat {
    display: block;
  }
  + label {
    opacity: 1;
  }
}

#meat3:checked {
  + label + .meat {
    display: block;
  }
  + label {
    opacity: 1;
  }
}

#negi1:checked {
  + label + input + label + input + label + .negi + .negi + .negi {
    display: block;
  }
  + label {
    opacity: 1;
  }
}

#negi2:checked {
  + label + input + label + .negi + .negi {
    display: block;
  }
  + label {
    opacity: 1;
  }
}

#negi3:checked {
  + label + .negi {
    display: block;
  }
  + label {
    opacity: 1;
  }
}

#nori1:checked {
  + label + input + label + input + label + .nori + .nori + .nori {
    display: block;
  }
  + label {
    opacity: 1;
  }
}

#nori2:checked {
  + label + input + label + .nori + .nori {
    display: block;
  }
  + label {
    opacity: 1;
  }
}

#nori3:checked {
  + label + .nori {
    display: block;
  }
  + label {
    opacity: 1;
  }
}
</style>
